<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf3 + Servlet3 示例</title>
</head>
<body>
    <h1>Thymeleaf 3 + Servlet 3 示例</h1>
    <p>
        <!--/*@thymesVar id="username" type="servlet.LoginServlet"*/-->
<!--        Hello ,<span th:text="${student.name}"></span>-->
<!--        2.-->
<!--        <br>-->
<!--        2.-->
<!--        your password is <span th:text="${student.password}"></span>-->
<!--        2.-->
<!--        <br>-->
<!--        2.-->
<!--        your age is <span th:text="${student.age}"></span>-->
<!--        2.-->
    </p>
    <table>
        <thead>
        <tr>
            <td>姓名</td>
            <td>密码</td>
            <td>年龄</td>
        </tr>
        </thead>
        <tbody>
        <tr th:each="student:${students}">
            <td th:text="${student.name}"></td>
            <td th:text="${student.password}"></td>
            <td th:text="${student.age}"></td>
        </tr>
        </tbody>
    </table>
</body>
</html>